<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			function add(a, b, c) {
				return a + b + c;
			}

			function add(a, b) {
				/* for (var i = 0; i < arguments.length; i++) {
					console.log("arguments" + i + ":" + arguments[i]);
				} */
				return a + b;
			}

			console.log(add(666, 999, 555));
		</script>
	</body>
</html>
